package com.kingdee.eas.custom.common;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class CanonFacadeFactory
{
    private CanonFacadeFactory()
    {
    }
    public static com.kingdee.eas.custom.common.ICanonFacade getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.common.ICanonFacade)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("0240317E") ,com.kingdee.eas.custom.common.ICanonFacade.class);
    }
    
    public static com.kingdee.eas.custom.common.ICanonFacade getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.common.ICanonFacade)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("0240317E") ,com.kingdee.eas.custom.common.ICanonFacade.class, objectCtx);
    }
    public static com.kingdee.eas.custom.common.ICanonFacade getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.common.ICanonFacade)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("0240317E"));
    }
    public static com.kingdee.eas.custom.common.ICanonFacade getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.common.ICanonFacade)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("0240317E"));
    }
}